/* 专门写和博客列表页相关的样式 */
.blog{
    width: 100%;
    padding: 20px;
}

.blog .title{
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    padding: 10px 0;
}
.blog .desc{
    color: #000;
    text-indent: 2em;
    margin-top: 10px;
}
.blog .date{
    color: #008000;
    margin-top: 10px;
    text-align: center;
}



.blog a{
    /* a 标签, 不方便设置样式. 转成块级元素 */
    display: block;
    width: 120px;
    height: 40px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    color: black;
    
    border-radius: 10px;
    
    transition: all 0.8s;
}

.blog a:hover{
    color: white;
    background: #666;
}


